package top.canyue.eca_manager.service;

import top.canyue.eca_manager.bean.Result;

import java.util.List;

public interface ConferenceDetailService {
    //更新会议缓存数据-累加计数情绪数据
    Result incrCache(String conferenceId, String userId, String emotion);

    Result getCache(String conferenceId, String userId);

    Result persistentAllCacheByconferenceId(String conferenceId);

    Result persistentCache(String conferenceId, String userId);

    Result getDetailById(String id);

    Result joinConference(String conferenceId, List<String> userIdList);

    Result joinConference(String conferenceId, String userId);

    Result leaveConferenceByAllUser(List<String> userIdList, String conferenceId);

    Result leaveConference(String userId, String conferenceId);

    Result getDetailByConferenceId(String conferenceId);

    Result getUserIdByConferenceId(String conferenceId);

    Result getUserNameByConferenceId(String conferenceId);
}
